xen/arm: initialize virt_timer and phys_timer with the same values on all vcpus
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 8 May 2013 11:41:13 +0000 (12:41 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 8 May 2013 11:59:41 +0000 (12:59 +0100)
commitafb2edfc329395daeb3d90af567f07ddae4ba203
tree6fe3b859770576576b1e8e7f17852ff6ab3e2595
parent43e39ffc70d1adff7ff3f3f5c2abfb281589fe1c
xen/arm: initialize virt_timer and phys_timer with the same values on all vcpus

Introduce a domain wide vtimer initialization function to initialize
the phys_timer and the virt_timer offsets.

Use the domain phys_timer and virt_timer offsets throughout the vtimer
code instead of the per-vcpu offsets.

Remove the per-vcpu offsets from struct vtimer altogether.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain.c
xen/arch/arm/vtimer.c
xen/arch/arm/vtimer.h
xen/include/asm-arm/domain.h